<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #333;
            color: #fff;
            padding: 10px 20px;
        }

        .navbar a {
            color: #fff;
            text-decoration: none;
            margin-right: 10px;
            letter-spacing: 0.5px;
            transition: color 0.3s ease, background-color 0.3s ease, text-decoration 0.3s ease;
        }

        .navbar-brand {
            font-size: 20px;
            font-weight: bold;
            letter-spacing: 1px;
        }

        .navbar-links {
            display: flex;
        }

        /* 鼠标悬停时链接样式 */
        .navbar a:hover {
            color: #ffffff; /* 更改悬停时的颜色 */
            text-decoration: none; /* 移除下划线 */
            background-color: rgba(255, 255, 255, 0.3); /* 添加背景色透明度 */
        }
    </style>
</head>
<body>
<!-- 导航栏 -->
<div class="navbar">
    <div class="navbar-brand">
        <a href="#">某某酒店预订系统</a>
    </div>
    <div class="navbar-links">
        <a href="#">首页</a>
        <a href="#">关于我们</a>
        <a href="#">服务</a>
        <a href="#">联系我们</a>
    </div>
</div>
<div class="container">
    <div class="row">
        <div class="col-md-8">
            <h2>旅客预订酒店信息</h2>
            <div class="card mt-4">
                <div class="card-body">
                    <p class="card-text"><strong>入住人:</strong><span th:text="${student.sname}"></span> </p>
                    <p class="card-text"><strong>手机号:</strong><span th:text="${student.age}"></span> </p>
                    <p class="card-text"><strong>人数:</strong><span th:text="${student.course}"></span> </p>
                    <p class="card-text"><strong>余额:</strong><span th:text="${student.balance}"></span> </p>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
